[INFO] cloning repository https://github.com/MOZGIII/musicbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MOZGIII/musicbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMOZGIII%2Fmusicbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMOZGIII%2Fmusicbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 635dfb6a35742a1bb47a658e04b7e2f72caa6035
[INFO] documenting MOZGIII/musicbot against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMOZGIII%2Fmusicbot" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MOZGIII/musicbot on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MOZGIII/musicbot
[INFO] finished tweaking git repo https://github.com/MOZGIII/musicbot
[INFO] tweaked toml for git repo https://github.com/MOZGIII/musicbot written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/MOZGIII/musicbot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3ec6e6de99510e0b157619925ab67c141669e16a7b3fd426be227bfcb1d5076
[INFO] running `Command { std: "docker" "start" "-a" "f3ec6e6de99510e0b157619925ab67c141669e16a7b3fd426be227bfcb1d5076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3ec6e6de99510e0b157619925ab67c141669e16a7b3fd426be227bfcb1d5076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3ec6e6de99510e0b157619925ab67c141669e16a7b3fd426be227bfcb1d5076", kill_on_drop: false }`
[INFO] [stdout] f3ec6e6de99510e0b157619925ab67c141669e16a7b3fd426be227bfcb1d5076
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c9249c3da67db5288e6dff6149bde9e97b38cb2a0c786941658574158813a84
[INFO] running `Command { std: "docker" "start" "-a" "1c9249c3da67db5288e6dff6149bde9e97b38cb2a0c786941658574158813a84", kill_on_drop: false }`
[INFO] [stderr]     Checking serenity v0.10.2
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::all` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:149:34
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Self::from_bits_truncate(Self::all().bits() & !Self::privileged().bits())
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::bits` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:149:46
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Self::from_bits_truncate(Self::all().bits() & !Self::privileged().bits())
[INFO] [stdout]     |                                              ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::bits` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:149:75
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Self::from_bits_truncate(Self::all().bits() & !Self::privileged().bits())
[INFO] [stdout]     |                                                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::from_bits_truncate` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Self::from_bits_truncate(Self::all().bits() & !Self::privileged().bits())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::bits` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:157:54
[INFO] [stdout]     |
[INFO] [stdout] 157 |         Self::from_bits_truncate(Self::GUILD_MEMBERS.bits() | Self::GUILD_PRESENCES.bits())
[INFO] [stdout]     |                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::bits` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:157:85
[INFO] [stdout]     |
[INFO] [stdout] 157 |         Self::from_bits_truncate(Self::GUILD_MEMBERS.bits() | Self::GUILD_PRESENCES.bits())
[INFO] [stdout]     |                                                                                     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: cannot call non-const fn `GatewayIntents::from_bits_truncate` in constant functions
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.10.2/src/client/bridge/gateway/intents.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |         Self::from_bits_truncate(Self::GUILD_MEMBERS.bits() | Self::GUILD_PRESENCES.bits())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0015`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `serenity` due to 8 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c9249c3da67db5288e6dff6149bde9e97b38cb2a0c786941658574158813a84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c9249c3da67db5288e6dff6149bde9e97b38cb2a0c786941658574158813a84", kill_on_drop: false }`
[INFO] [stdout] 1c9249c3da67db5288e6dff6149bde9e97b38cb2a0c786941658574158813a84
